$OpenBSD: patch-src_common_Patch_cpp,v 1.1.1.1 2012/05/28 09:18:56 bentley Exp $
--- src/common/Patch.cpp.orig	Mon May 14 00:26:35 2012
+++ src/common/Patch.cpp	Mon May 14 00:26:59 2012
@@ -7,13 +7,13 @@
 
 
 #ifdef __GNUC__
-#if defined(__APPLE__) || defined (BSD) || defined (__NetBSD__)
+#if defined(__APPLE__) || defined (BSD) || defined (__NetBSD__) || defined(__OpenBSD__)
 typedef off_t __off64_t; /* off_t is 64 bits on BSD. */
 #define	fseeko64 fseeko
 #define	ftello64 ftello
 #else
 typedef off64_t __off64_t;
-#endif /* __APPLE__ || BSD */
+#endif /* __APPLE__ || BSD || __NetBSD__ || __OpenBSD__ */
 #endif /* __GNUC__ */
 
 #ifndef _MSC_VER
